﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductItem.aspx.cs" Inherits="ASP.NET_Routing_Table.Products.ProductItem" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataSourceID="ObjectDataSource1" Height="50px" Width="125px">
            <Fields>
                <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
                <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                <asp:CheckBoxField DataField="InStock" HeaderText="InStock" SortExpression="InStock" />
            </Fields>
        </asp:DetailsView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetNew" TypeName="ASP.NET_Routing_Table.BusinessLayer.ProductsOperations"></asp:ObjectDataSource>
        <br />
        <asp:Button ID="Save" runat="server" Text="Save" OnClick="Save_Click" />
        <br />
    
    </div>
    </form>
</body>
</html>
